/*
 * @Author: MaiRX1997 1640454380@qq.com
 * @Date: 2024-03-03 20:57:55
 * @LastEditors: MaiRX1997 1640454380@qq.com
 * @LastEditTime: 2024-03-03 20:58:00
 * @FilePath: \back-stage-management\src\utils\validate.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * 判断是否为外部资源
 */
export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path)
}
